<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>轮播图布局</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        ul,li{
            list-style: none;
        }
        .outer{
            width: 800px;
            height: 450px;
            border: 5px solid #ccc;
            margin: 100px auto;
            position: relative;
        }
        .outer ul li{
            position: absolute;
            left: 0;
            top: 0;
            display: none;
        }
        .outer ul li.current{
            display: block;
        }
        .outer .btns a{
            text-decoration: none;
            color: #000;
            font-size: 40px;
            font-family: serif;
            line-height: 80px;
            text-align: center;
            position: absolute;
            top: 50%;
            background-color: rgba(255, 255, 225, 0.4);
            width: 40px;
            height: 80px;
            margin-top: -40px;
            border-radius: 8px;
        }
        .outer .btns a.right{
            right: 0;
        }
        .circle{
            width: 270px;
            height: 20px;
            background: rgba(255, 255, 225, 0.4);
            position: absolute;
            left: 50%;
            margin-left: -135px;
            bottom: 10px;
            padding: 5px 10px;
            border-radius: 15px;
        }
        .circle ol li{
            width: 20px;
            height: 20px;
            float: left;
            background: #fff;
            border-radius: 50%;
            text-align: center;
            font-size: 12px;
            line-height: 20px;
            margin: 0 5px;
            cursor: pointer;
        }
        .circle ol li.current{
            background-color: gold;
            color: #fff;
        }
    </style>
</head>
<body>
    <div class="outer">
        <ul>
            <li class="current"><img src="../img/lunbo/1.jpg" alt=""></li>
            <li><img src="../img/lunbo/2.jpg" alt=""></li>
            <li><img src="../img/lunbo/3.jpg" alt=""></li>
            <li><img src="../img/lunbo/4.jpg" alt=""></li>
            <li><img src="../img/lunbo/5.jpg" alt=""></li>
            <li><img src="../img/lunbo/6.jpg" alt=""></li>
            <li><img src="../img/lunbo/7.jpg" alt=""></li>
            <li><img src="../img/lunbo/8.jpg" alt=""></li>
            <li><img src="../img/lunbo/9.jpg" alt=""></li>
        </ul>
        <div class="btns">
            <a href="#" class="left">&lt;</a>
            <a href="#" class="right">&gt;</a>
        </div>
        <div class="circle">
            <ol>
                <li class="current">1</li>
                <li>2</li>
                <li>3</li>
                <li>4</li>
                <li>5</li>
                <li>6</li>
                <li>7</li>
                <li>8</li>
                <li>9</li>
            </ol>
        </div>
    </div>
</body>
</html>